package cn.learn.jdk8new;

import lombok.*;

/**
 * @author huangyezhan
 * @version 1.0
 * @date 2020年03月24日14:06
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Employee {

    private String  name;
    private Integer age;
    private String  address;
    private double  salary;
    private Status status;

    public Employee(int age) {
        this.age = age;
    }

    public Employee(int age, String name) {
        this.age = age;
        this.name = name;
    }

    public Employee(String name, Integer age, String address, double salary) {
        this.name = name;
        this.age = age;
        this.address = address;
        this.salary = salary;
    }

    public enum Status{
        FREE,
        BUSY,
        VOCATTION
    }

}
